﻿using Microsoft.EntityFrameworkCore;
using ShopSystem.Model.Entities;

namespace ShopSystem.Model.Context
{
    public class ShopDbContext: DbContext
    {
        public ShopDbContext(DbContextOptions<ShopDbContext> options) : base(options)
        {

        }

        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        {
            base.OnConfiguring(optionsBuilder);
        }

        public DbSet<Commodity> Commodity { get; set; }

        public DbSet<Customer> Customer { get; set; }
        
    }
}
